<?php
include(_DOC_ROOT.'classes/Content/Content.php');
include(_DOC_ROOT.'classes/Wedding/Wedding.php');
//MyDB::$db->debug = true;
$packageSelected =' class="selected"';
array_push($jsFiles,  'general.js','package.js','jquery.tools.min.js','ad-gallery.min.js');
array_push($cssFiles, 'ad-gallery.css');
$package_url = &end($reqArr);
$param['package_url'] = clean_url($package_url);
$parr = Wedding::getWeddingPackageDetail($param);
$parr['price'] = Wedding::calcPrice($parr);
if(strlen($parr['fixed_cost_items']))
	$inclusions = Wedding::getWeddingPackageServices($parr['fixed_cost_items']);
if(strlen($parr['variable_cost_items']))
	$vendorServices = Wedding::getWeddingPackageServices($parr['variable_cost_items']);

	//echo '<pre>';print_r($parr);
$_tplName = array('package-customize.tpl');

$brd_url['Packages'] = _SITE_URL.'packages/';
$brd_url['Wedding Packages'] = _SITE_URL.'wedding-packages/';
$brd_url[$param['package_url']] = '#';

$img_arr = array();
$img_arr['type'] = 'wedding-package';
$img_arr['size'] = 'big';
$img_arr['title'] = $parr['title'];
$img_arr['image'] = $parr['package_image'];
$img_arr['width'] = 709;
$img_arr['height'] = 214;
	//print_r($brd_url);
$footer_links_tpl = 'footer_packages_links.tpl';
include(_SITE_TPL_PATH_.'site_main.tpl');
?>